package cn.itsource.param.service;

import cn.itsource.param.domain.Param;
import cn.itsource.system.query.ParamQuery;
import com.github.pagehelper.PageInfo;

import java.util.List;
import java.util.Map;

public interface ParamService {

    Map<String,Object> param();

    PageInfo<Param> pageInfo(ParamQuery paramQuery);

    /**
     * 新增和修改
     */
    void save(Param p);

    /**
     * 批量删除
     * @param p
     */
    void deleteAll(List<Param> p);

    /**
     * 删除
     * @param id
     */
    void deleteByPrimaryKey(Long id);
}
